package tuanda.soict.firstsun.LogicPackage;

import java.util.ArrayList;

/**
 * @author tuanda_soict_hut
 * @version 0.0.2
 * @since 7-10-2012
 */
public class ArmyManager {

    private ArrayList<Army> levelUpArmy;
    private ArrayList<Army> deadArmy;

    public ArmyManager() {
        levelUpArmy = new ArrayList<Army>();
        deadArmy = new ArrayList<Army>();
    }

    public final ArrayList<Army> getLevelUpArmy() {
        return levelUpArmy;
    }

    public final void setLevelUpArmy(ArrayList<Army> levelUpArmy) {
        this.levelUpArmy = levelUpArmy;
    }

    public final void addLevelUpArmyItem(Army arm) {
        this.levelUpArmy.add(arm);
    }

    public final void resetLevelUpArmy() {
        this.levelUpArmy.clear();
    }

    public ArrayList<Army> getDeadArmy() {
        return deadArmy;
    }

    public void setDeadArmy(ArrayList<Army> dead) {
        this.deadArmy = dead;
    }

    public final void addDeadArmyItem(Army arm) {
        this.deadArmy.add(arm);
    }

    public final void resetDeadArmy() {
        this.deadArmy.clear();
    }

    public final void resetAll() {
        this.deadArmy.clear();
        this.levelUpArmy.clear();
    }
}